﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.Web.ASPxHeadline;

namespace Web.Control.Widgets
{
    public partial class NewsWidget : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Page_Init(object sender, EventArgs e)
        {
            ASPxNewsControl.ItemSettings.DateVerticalPosition = DateVerticalPosition.BelowHeader;
            ASPxNewsControl.ItemSettings.DateHorizontalPosition = DateHorizontalPosition.Right;
            ASPxNewsControl.Paddings.Padding = 10;
            ASPxNewsControl.ContentStyle.Paddings.Padding = 0;
        }
    }
}